//
//  GameConfig.h
//  MathSpeed
//
//  Created by ToanTM on 5/16/14.
//
//

#ifndef MathSpeed_GameConfig_h
#define MathSpeed_GameConfig_h

#define scc static const char*
#define sci static const int
#define scf static const float

// font define
scc FONT_BERLIN_SANS_BOLD =
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
"JandaManateeSolid"
#else
"fonts/JandaManateeSolid.ttf"
#endif
;

scc FONT_BERLIN_SANS_REGULAR =
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
"JandaManateeSolid"
#else
"fonts/JandaManateeSolid.ttf"
#endif
;


// IMAGE
scc IMAGE_BUTTON_CANCEL_NORMAL      = "button_x.png";
scc IMAGE_BUTTON_CANCEL_PRESS       = "button_x2.png";
scc IMAGE_BUTTON_OK_NORMAL          = "button_v.png";
scc IMAGE_BUTTON_OK_PRESS           = "button_v2.png";
scc IMAGE_BUTTON_PLAY_NORMAL        = "button_again4.png";
scc IMAGE_BUTTON_PLAY_PRESS         = "button_again5.png";
scc IMAGE_BUTTON_MENU_NORMAL        = "button_menu4.png";
scc IMAGE_BUTTON_MENU_PRESS         = "button_menu5.png";
scc IMAGE_BAR_BACKGROUND            = "mp__bar_background.png";
scc IMAGE_BAR_FILL                  = "mp__bar_fill.png";
scc IMAGE_BACKGROUND_SPLASHSCREEN   = "splashscreen.png";
scc IMAGE_BACKGROUND_MAIN           = "background.png";

// KEY
//scc KEY_HIGH_SCORE = "mp_high_score";

// TIME
scf TIME_ANIMATION_APPEAR = 0.3;
scf TIME_FOR_ONE_TIMES_PLAY = 1.5;

// sound
scc SOUND_FAIL              = "sound_fail.mp3";
scc SOUND_TOUCH_EFFECTS     = "sound_touch.mp3";
scc SOUND_START_GAME        = "sound_start_game.mp3";


// math obj
sci DISTANCE_RESULT         = 3;

// screen number config
sci SCREEN_GAME_MENU        = 1;
sci SCREEN_GAME_PLAY        = 2;
sci SCREEN_GAME_OVER        = 3;

// Native method
scc METHOD_NATIVE_SET_CURRENT_SCREEN = "setCurrentScreen";

// Screen design
static const cocos2d::CCSize winSize = cocos2d::CCSizeMake(480, 800);
#endif
